home *** CD-ROM | disk | FTP | other *** search
- Path: uu4news.netcom.com!computex!yong.liu
- From: yong.liu@computex.com (YONG LIU)
- Newsgroups: comp.lang.c++
- Subject: Re: C++ vs. C
- Message-ID: <8BB840D.000A006231.uuout@computex.com>
- Date: Mon, 26 Feb 96 17:17:00 -0500
- Distribution: world
- Organization: International CompuTex, Inc., Atlanta, GA (770)953-1464
- Reply-To: yong.liu@computex.com (YONG LIU)
- References: <4g5nk4$pra@noah.xicom.com>
- X-Newsreader: PCBoard Version 15.22
- X-Mailer: PCBoard/UUOUT Version 1.20
-
-
- <snip>
- -> Why are C++ executable programs atleast 10 times bigger than C
- -> programs. Case and point. I've been learning to write C and C++
- -> and the first promgram anyone teaches you to write is the "Hello
- -> World".
- ->
- -> The C source and C++ source file are about the same number of lines
- -> of code and about the same file size. But after compliling the
- -> source, C++ programs are HUGE, 200K vs. 12K with C.
- ->
- -> What's up with this?
- ->
-
- It's like shooting a bird with a cannon, what do you expect? :=)
-
- Yong
-